Get tasks from server.