delayCall helper function