The timeout issue is due to the security purpose. But there is a bug that makes the timeout very fast. I have also visited iCloud Support (https://iphonesupport.net/i-cloud-customer-support/) and asked them how to solve this issue. But they even could not help me out with this problem. So I am reporting in this page for help.