[test] camera flush the socket