The fact that he got more than close enough and more than one stab wound means the officers were slow on the draw. Should have shot him way sooner
Look up the “21 foot rule”. At conversation distance, he was close enough to attack before the cops could react.