Throw connection errors in some extra cases

Solve https://github.com/icewind1991/SMB/issues/9