put data sock when done

Signed-off-by: James Paton <jpaton2@gmail.com>