fix parallel issue

I found if I call promisified function parallel, it will only response the last time, so I fixed this issue and commit on it.