Changed dependency rule on connect: avoid using incompatible 3.x