commit before leaving work