Rename RecordLayer to RecordConnection.
Do not send data to disconnected connection.