question: @ Override public void close ( ) throws IOException { running . set ( false ) ; service . shutdown ( ) ; try { if ( ! service . awaitTermination ( SHUTDOWN_TIMEOUT , TimeUnit . SECONDS ) ) { LOG . error ( "Was not able to process all remaining spans to write upon closing in: " + SHUTDOWN_TIMEOUT + " " + TimeUnit . SECONDS + ". There could be un-sent spans still left." + "  They have been dropped." ) ; } } catch ( InterruptedException e1 ) { LOG . warn ( "Thread interrupted when terminating executor." , e1 ) ; } }
target:  Close the receiver. <p> This tries to shut