When the resource manager is busy trying to establish a connection with the remote, the resource might yet lack any metrics information. Prior to this fix, the bridges/ API handler crashed in such circumstances.
bridges/