End client connection once data is received.