* created function that tests the zmqweb response and closes the socket