Server stopping after some inactivity