Changed the way retries are done to include maintenance mode
Merge branch 'master' of https://github.com/whetlab/Whetlab-Matlab-Client
Changed the way retries are done to include maintenance mode