NAFlashWrite

My application threads stops running when I execute this function. Thread A pri=8 toggles a GPIO which I monitor each 2 msec. Thread B pri=15 executes NAFlashWrite. Now the toggling stops on Thread A for a few seconds. Any way to keep Thread running while the Flash is being updated?