The trait for transports.
A transport is responsible for sending events to Sentry. Custom implementations can be created to use a different abstraction to send events. This is for instance used for the test system.
Drains the queue if there is one.
The default implementation does nothing. If the queue was successfully
shutdowned the return value should be
false if events were
left in it.