Fix logger watcher race condition

Previously a backend could be removed from logger and the watcher would
not have exited before the remove_backend/1 call returned. This meant
that a new watcher could not always be started because the child
(watcher) might still exist but be about to die.
Merge pull request #2712 from fishcakez/logger_rc

Fix logger watcher race condition