// If we're not unregistering a "wildcard" callback...
if (!message.equals("")) {
// ...tell the server to stop sending this message
out = new ObjectOutputStream(socket.getOutputStream());
out.writeObject(new UnregisterCallback(message));
}
// Tell the client not to expect to receive it any longer
callbackThread.unregisterCallback(callback);
}