end of night commit, working asynchronous promise recipe