Fix for exit of the program: exception added to reject tasks.