Fix Shutdown method.
Fix Shutdown method.

cailin186/RestExpress,jyx140521/RestExpress,cailin186/RestExpress,RestExpress/RestExpress,jasonchaffee/RestExpress,RestExpress/RestExpress,jasonchaffee/RestExpress,jyx140521/RestExpress