Bug fix: 1. Time notify to dump must in synchronize block.
         2. Stream must be close after reading.