Add session manager for reconnection the client when communication is lost
Add SessionManager class, which will manage reconnection if communication is lost.