added error handling for watch task