Reconnect

@ransomr Here is the pull request for review.

Thanks,
Hemant