Switching to NIO for the standalone broker