Stop leaking connections to the server when denying access.