refactor: cleanup async lock API