Add some exception handling to discover that get_peername is returning nil in production.