Police: Ex boyfriend tried to attack woman with electric skillet