Use single clause in /wait_resp(_local)?/
Type correction: forgot paranthesis for timeout
Whitespace/indentation fixes