Fix connecting timeout.