process_next after receiving a message