raise a RuntimeError when pool/process is not active