Client.listen(): loop should not break on error