Removing the process next tick from the flush method as it was causing issues when trying to listen to when tokenizing was done.