Fix double-return race.

A connection could be returned through the thread-dead-evt or
explicitly using disconnect.