#369 set maxlifetime, close conn