Fix for issue #883; moves reconnect interval tracking to session.