Fixed error preventing further connections