SERVER-10026 move idle time update to after check for NULL