hammer2 - Implement automatic reconnect