Fix TypeError: None and ints are not comparable.

To shutdown the cluster, (None, None) was added in an heapqueue. However, keys used to be ints (time in fact).
Replace None by 0 to have it pushed in first position.