Removed timeout const since it's not used anyway.