Wrap testUpMessage to handle EADDRINUSE errors