Make netty configurable.

Signed-off-by: V10lator <v10lator@myway.de>
Fix async tasks not running if no sync tasks are scheduled.

Signed-off-by: V10lator <v10lator@myway.de>