Don't use process.nextTick

Not sure but it seems that it causes a strange error in JavaScript client