doth test: fix failure after reconfig
Sometimes the serving a query or two might fail in the test due to the listeners not being reinitialised on time. This commit makes the test suite to wait for reconfiguration message in the log file to detect the time when the reconfiguration request completed.
Edited by Artem Boldariev