wait for api port after restart
Merge pull request #4 from oneilcin/master

wait for api port after restart