miners/fs: Fix crash when SIGTERM happens before mainloop is available
miners/fs: Fix crash when SIGTERM happens before mainloop is available

Fixes NB#296488.

hoheinzollern/tracker,hoheinzollern/tracker,outofbits/tracker,outofbits/tracker,outofbits/tracker,outofbits/tracker,hoheinzollern/tracker,outofbits/tracker,outofbits/tracker,hoheinzollern/tracker,hoheinzollern/tracker,hoheinzollern/tracker,hoheinzollern/tracker,outofbits/tracker