Added time limit for stopping torrents on exit