fix task resume problems
metrics are now tasks as well
make sync task be based off taskbase