Data_engine restart loop, log shows error: Open: Too many connections (errno:1040)