Moved GTask to shared ptr
Removed the deletes from the task as now Task is always are shared ptr