Bug fix, return if a nil socket is enqueued

This usually only happens when the server has been shutdown, but
in general is a safeguard against putting `nil` values on the
queue.