Limited the reconnect attempts.