Removes the socket hook's dependency upon the session hook.