fix #20 (connpool may switch from active to backup between na_connpool_select and na_connpool_assign)
Merge pull request #21 from edvakf/master

fix #20