Exit automatically if one second passes with no activity.
Fixed regression with padding option.