commit before making some async methods
better error logging