Guard against weird race conditions: somtimes sockets are None, right after
SIGINT