It happens mostly when your internet connection is slow. Further you can integrate Real Debrid to solve the problem in full