fbdev: fix thread hang at exit