Fix midnight connections