'Make sure the host state data is current'

def cleanHostState(self):

    try:
        self.hostStateLock.acquire()
        now = time.time()
        toDel = []
        for hostKey in self.hostState:
            if (hostKey not in self.hostStateLastUpdate):
                continue
            if ((now - self.hostStateLastUpdate[hostKey]) > 60):
                toDel.append(hostKey)
        for hostKey in toDel:
            del self.hostState[hostKey]
    finally:
        self.hostStateLock.release()
