support not to kill process when error ocurs; fixes #2