make scanner abort on tcp failure