How might I find out if a handle has stopped responding? The main problem is that I want to apply an API call to the handle such as enable or disable, and if it isn't responding then my application stops responding as well until the handle or both are closed.