npp: connection lifetime fixes