Decreasing response time to gps loss

Hi , I am working on flying Arducopter in GPS denied environment , for testing purposes I need to switch off GPS in mid-flight and change mode to GUIDED_NO_GPS but it takes 5 seconds lag between switching off the GPS and detection of GPS loss by mavproxy . Can anybody help me with method to decrease this response time .