fix test under mysql5.5 -- use the other connection to kill the thread