split out shared wait for issue and wait for busy clear functions