added session.reconnect property. If set to false, no

reconnection is possible and if the session gets disconnected,
the session is shutdown.