reuse sockets; make flag 'f=scan' for clang analyzer