Disconnect services from correct thread.

Now on_resolved may be called from a thread different from the one in which the connection works. So it must post calling of "disconnect" to the correct thread.