Input example sends signals periodically instead of one time only.