Make sure connection exists.