Http robot control

fix for bug sending multiple finished messages on tcp