reject enqueuing messages for closed sockets

Before, messages on closed sockets when enqueued, but the resulting
conenction error could not always been handled correctly. Rejecting
message on lcose sockets is the much saner way of handling this.