added search timeout