Fix. `reconnect_thread:stop()` may hungup if thread already dead.
Fix. Test may hangup.
Add. call logger in reconnect work thread (disabled by default).