Use g_signal_handler_disconnect() to disconnect the handoff signal