Won't spin out with towels

Washer works fine most of the time except with towels. If we wash more than 2 bath towels together, it won’t complete the entire wash cycle. Seems to stop at the rinse cycle and never goes past that. Other times it just won’t spin out the towels. Has done the same thing with blankets. I just replaced the pump and checked the filter which was fine. Still does the same thing. Any suggestions?