set max time to last packet