restaured previous implementation of timeout without SystemTime.