complete select/fetch/disconnect commands flow and add an example