replaced all loseConnection calls with abortConnection, hopefully addressing some memory leakage