ws: Drain the GMainContext when stopping the MockService

Otherwise references are held by outstanding sounces in the
GMainContext. If a GDBusConnection is leaked then g_test_dbus_down()
will hang for 30 seconds and fail waiting for it to go away.

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>