Emit a 'close' event from the engine that the proxy uses to close sockets.