[fix] Fix the message loss at file open stage