Add handling for the last ten messages to make reconnections quieter