Added 5 minute re-sync timer

The socket should stay running for more than 5 minutes at a time