check only online slaves
Merge pull request #64 from mavlyutov/master

check only online slaves