Set source id to 0 after calling g_source_remove

Avoids some GLIB-Critical runtime messages by properly resetting the
source id variables after removing the source.
Patch provided by Manfred Hampl.