goroutine: Make monitoring background routines context-aware
Created by: efritz
Add a context parameter to the MonitorBackgroundRoutines
function. Cancelling the context will have the same effect as a single Ctrl+C. Two Ctrl+C's in a row will still trigger an immediate application exit.