Moved the graph search onto a background thread.