can you specify how are you creating a tunnel. Is it through any script? where does this script reside? Source or target?
You can execute a DnR before the deployment on target -tunnel creation and sleep and then deployment will proceed. Not sure this is what you want.