Accept parameter from the tubesock api when closing socket.