experimental: warning fix. try mongo sessions instead of memory sessions.
Bugfix for export logs. use the stream's finish event to complete promise. Remove magic number callback.