Avoid race condition with 'reconnect' message sent by init()

Fixes #200