TLSProxy/Proxy.pm: handle -1 as return value from waitpid.