Added exception handling to stopping server