Correct catch Empty exception on connection id queue

Broken in master, but not in any release