Right way to disconnect from session