Appium try to create driver forever when i wrong bundleID is entered

Hi

While creating the capabilities for IOSDRiver using Appium 1.6.3 , if user entered the wrong bundleId then appium try to create the IOSDriver and hangs for a very long time.

My Question here is, Are there any timeout which we can apply while creating the IOSDriver using capabilities.