I think you should either rename it or change it so that it can be called after the prepare command response was sent as well.