more logging, explitiy timeouts on communicate and most importantly missing an import on signal which would stop a kill from functioning