Added wait time if reconnect fails.