Use AsyncHttpClient#closeAsynchronously() instead if close().