Fix maximum call stack size exceeded errors

Recursively calling Parse._flush caused recursive process.nextTick
calls.