Fix connect test condition
Release 1.6.5