changes to get server stop working
Merge pull request #1 from bcipolli/multiplatform-serverstop

changes to get server stop working