Does predict function work in parallel when predicting k-nearest neighbour?