Avoid terminating only primordial thread