Add immediate_send possibility

In console commands, the `kernel.terminate` event is never fired and we might want to send data immediately in case of long running commands.