Properly close connection.
Reduce CryptoData size by using smaller length fields.