close
Flushes every session and stops the writes, without closing delegate; like flush with a null key, it throws a SessionException for failures no session has reported. It blocks the calling thread, so do not call it on the Android main thread or on a thread the writes need.