fixed shutdown in context forcing netty to shutdown even if elements are left in queue