Fix the check for whether the parallel pool is open when using the new tools.
Fix indent.