Enclose taskStatus Issue in Try-Catch

taskStatus occassionally fails. To avoid it crashing the entire
program enclosing it in try catch.