Runs the task as non threaded code. This method is mostly meant to test and diagnose if there is problem with running in native thread.
Task Class