Fix polarity error causing timeouts not to be periodically cleaned up