Disable retries in urlopen
Handle SIGTERM