Fix race condition NPE where BeaconService could send its first beacon before initializing its map of online modules