We are using the latest PushSharp 4.0
We are encountering sometimes error 502 - GCM HTTP Error: BadGateway when sending push notif via FCM in the pushsharp.

How can we fix this? Does the library handles the auto retry? We saw that this kind of error is just a temporary in the server of google, and their suggestion is to retry. How can we handle this in the pushsharp? Like retrying the failed ones?