improved the process level isolation implementation