Adding a short timeout to a script, as YouTube can keep connections alive forever.