I\'m trying to prevent MySQL exception from blocking my thread and instead... giving a signal to the main thread about the reason it\'s being disconnected. so I tried to fin