Fixed magic numbers and some checkstyle issues, externalized time to sleep after SSH executed SSH command