Disable slave if it is not available.
Merge pull request #1 from demidovItransition/feature/disable

Disable slave if it is not available.