hide createtask-spinner not only on success