Removed automatic closing of the connection

...as this could interfere with your custom session handler