Added a timeout to auto size