fixing server shutdown
1.1.2