Prevent leakage by waiting before accepting input