Fixed so that connect does not async requests