use open(...).read() instead of call(['cat', ...])

Python takes care of closing the socket automatically as soon as it is
unreachable (we loose the file object when calling .read()), and we avoid
spawning unneccessary processes.