Add support to send background error

Note: this method lacks a test for the moment. Any recommendations?