@ -909,11 +909,22 @@ namespace WebSocketSharp.Server
}
try {
var threw = false;
stopReceiving (5000);
catch {
threw = true;
throw;
finally {
_services.Stop (code, reason);
if (!threw)