timeout for pathing

avoids long "freezes" when searching for complicated paths