Better handling of resume/pause

Check if all the torrents are paused