Updates message ram to not leave connections open