minor cleanup in reloader_loop