Fixed a bug that caused crypto handle expiration times to not take effect.