calling tasks is working wihout deadlocks