Added joining example to Nio