Timeout to handle the errors