Fixed job handling in controller_t