don't try to wait for the same process twice