remove complains when connection is already closed

When the socket has already been destroyed, there is no object in sockets[info.socketId]. But onReceiveError() is being called. This function complains that there is no such object. Therefore, we can safely ignore this error when the connection has already been closed.