Previously, periodic autoscan could have been left running and that could result in the following test cases failing in some cases. Signed-off-by: Jouni Malinen <j@w1.fi>