fix: when coalescing connections, pin the current session before merging connections Closes #365 See merge request !413