We are using DotNetOpenAuth for securing our API's and recently came across issue where the connections made through DotNetOpenAuth "WebServerClient" are left open and not getting disposed. This is causing our server to crash frequently as server stops accepting any more request. Please see the below code snippet which we are using while generating token using OAuthIssuer setup with WebAPI. Can anyone came across similar situation or any known issues which we need to take a look at for resolving this issue?
private static IAuthorizationState GetAccessToken()
var authorizationServer = new AuthorizationServerDescription
ProtocolVersion = ProtocolVersion.V20
client.ClientIdentifier = "zamd";
client.ClientSecret = "test1243";