fix: ensure the message buffer is flushed once accepted state is reached