Change waiting time in waitResponse() method.