Hello Tushar,
Thank you for your question. I understand that you are using Tensorflow in a Cloud Function and there is a timeout. As Google Groups is meant for General discussions about Google products, I would suggest that if you believe that there is an issue with cloud functions, to report it using Google Issue Tracker. If you find that this is unique to your project, I would recommend for you to contact support using the regular channel.
I do understand that this may be frustrating but the channels I provided would be best to help you.