fix next attempt in SqlDb::queryByCurl
fix compiler error in sniff.cpp
add wait for cdr save for opt_pb_read_from_file