Police arrived just in time