fixed memory leak when trying to add a connection to a full connection
table