fix nits from github review and re-indent

Sorry, I just can't read code that wide, some of the lines were 120
columns!
add support for a third argument to free_async_context

This allows us to have more thorough assertions.