rest: unbind connection after request