Added a wait_timeout to __init__.