Added a timeout setting.