optimizing the secondary cleanup operation.
basically, i don't want it to block the connection mutex unnecessarily.