Fixed syntax errors. Added 1s timeouts by default.