Reduce number of threads since threads are returned to netty as soon as
the lock is released.
Merge branch 'thread-fix'