Close file on writeFuture complete, try to fix issue https://github.com/AsyncHttpClient/async-http-client/issues/288