apparently quit does not close the connection