Add support for precreated groups
Add messge handler for close to loopback backend