Adding logic to retry connect after reconnect timer.

to avoid flood of packets and log messages for connect failures.

Change-Id: I8c864fcf1e67becddc38f1496a6cb876533b0b7c
Merge "Adding logic to retry connect after reconnect timer."