hotfix: bug with this pointer in callWithConnection