make file monitor thread daemon, fixes #8