Search on a separate thread