Make the duration of housekeeping flag configurable.
Merge pull request #208 from vmarmol/configurable-housekeeping

Make the duration of housekeeping flag configurable.