adding mode to prevent error being thrown
sleeps for x seconds search fails in safe mode