connect now returns a bool to indicate a failure