OOIION-1758 Make sure port agent is killed in a test