fix findbug warnning
use netty by default