Commit before starting event handling