How Can I Have Timeout On Application