expose waitgroup.Wait so shutdown handlers can wait on the server
Merge pull request #2 from remerge/master

expose waitgroup.Wait so shutdown handlers can wait on the server