clean up task service api