Check if http adapter is closed

@davedoesdev You can do something like this to check if the http adapter is closed.