Optimize and clean up NettyFuture.done, backport #141