[testActionManager] Ensure to wait removing a GSource.

Without this fix test_execCommandActionTimeoutNotExpired often
fails on my environment.
Fix indent