[JFG-400]: More reliable check for agents/kernels running
Merge pull request #28 from k-popov/JFG-400

[JFG-400]: More reliable check for agents/kernels running