error handling and robustness in processmanager