NSW Rural Fire Service captain retires from role