Fix connect() without arguments