Update mongodb sender to fix heapmemory error