spider+threading+mysqldb