Adding sleep since java apps can take time to start
Merge pull request #14 from brint/master

Adding sleep since java apps can take time to start