XD-922 Stop AdminServer cleanly

- Fix AdminServer's tomcat stop() to run cleanly
- Added SingleNodeMainServer's stop()
- Updated tests