A nonlocal quenching problem arising in a micro-electro mechanical system