modified check on received seq_num: now it possible not restart the application to check without have errors in sequence number