Do not build tests with Release configuration.
Print error if a message could not be sent out to client.