increasing timeout between maintenance mode and restarting hostd
adding polling to check for  maint mode exit
Merge pull request #46 from chrrrles/mem_timeout

Increasing timeout between maintenance mode and restarting hostd