sessions are getting disconnected if freerds fails