fix leaked processes in test_resource_monitoring_recursion_parameter
remove unneeded todo comments
fix leaked processes in test_with_intermediate_subplatform_directly_stopped
fix typo in log msg
fix typo in comment for test_mock_shallow_profiler
Merge pull request #2215 from carueda/pa_test_fix_leaked_processes

Fix leaked processes in some platform agent tests