Better names for callback.
style: remove useless reference
Fix connection timeout.

Don't throw, we just want to modify the exception, and close the
handle and reinitilize it so we can use it again.