trapping exit & fixing behaviour when parallel is missing.