Attempt to fix unreliable write to APNS after connection has been established for over an hour
without any activity. Reconnect to APNS if the connection has been established for an hour
prior to writing.