Made server tasks and taskgroups event based.