[PATCH v2 5/5] Controller: fix the handling of background process timeouts