Fixed some connection issues.