Bypass device reset after BLE timeout when in debug mode

Is there a way to bypass the device reset happening when BLE times out if the device is in debug mode (or RTT terminal)? I'm referring to the reset talked about in this thread.

I'm using SDK v15.3.0 to program an nRF52832.