fix for expensive while loop
fix for expensive while loop

connection reaper, when it ran and the queue was non-empty, would put
items into the same queue it was reading from. This effectively became
an expensive while loop.

mgedmin/socketpool,benoitc/socketpool