Hack to reconnect on each handler.

Seems the connection dies sometimes and causes blocking behaviour.