Check timeout before process stop