Fixed (a) reconnect too fast by introducing 30 second reconnect delay and (b) not retrying connection when the initial connect attempt throws an exception