wait for close to complete before verticles are undeployed