fixed bug when abort readNB