The race against time to avoid a building control inspection