Finalizing WebSockets related functionality: closing connection in case of repeatedly authenticating user.