Don't send a close frame if it has already been sent
Add convenience method to AbstractReceiveListener for handling close messages