Added support for setex. Timing logging