I'm developing a write plugin to do some processing when publication status goes to Released. The Run() method invokes an HttpWebRequest to external service. The request works fine when the plugin is called with publication in any status except Released. When the status is Released, the webrequest getResponse() method hangs, which is typically caused by another web request/response that hasn't been closed.
I've tried disabling all the other publication plugins, to verify that it is not another plugin causing the problem.
Is it possible there is some other process going on during publication release that has made a webrequest but didn't clean up after getting the response? It is recommended always to call response.Dispose() to release the connection.
Any other suggestions as to why the request only hangs when publication status is Released?