hide the reason for closing a client's connection