add timeout param to wait action