there's a race condition in prosody: if we shut it down immediately, some servers are still to be added, but it invokes `setquitting` immediately and it does not know about the pending ones yet, so they remain open. to work this around, first wait for prosody to be fully initialized
there's a race condition in prosody: if we shut it down immediately,
some servers are still to be added, but it invokes `setquitting`
immediately and it does not know about the pending ones yet, so they
remain open. to work this around, first wait for prosody to be fully
initialized

jbinary/prosodypy