I believe this is fixed in 2.0.0. The problem in 1.5.x and earlier is a thread priority issue where the networking thread is blocked (AP down) and has a higher priority than the application thread, so the application thread stops running. In 2.0.0 the blocking wait is no longer done in the networking thread, so the application can continue to run freely.