Implement automatic reconnections