handling for premature relay termination