Close the connection if receives a frame too big