Don't allow tprandom in the end to prevent a deadlock.