minor correction to maintenance thread (set seconds to 0)