Fixed double-freed of requests map, and memory leak of message2key