add timeout to replay test