write debug info
timeout 10s to kill stale gm processes