Fix NPE on task.thread premature usage in debug message
Merge pull request #493 from joesondow/fix-task-start-bug

Fix NPE on task.thread premature usage in debug message