close connection when receiving unknown message type