modified connection actors to have weak references