Can you put this code in a `main()` function and also `from collectors.lib import utils` and call `utils.drop_privileges()` in your `main()`?