Never Tighten Oil Pan Bolts With The Flywheel Cover Off!!!!

Just be happy you didn't get hurt. It could have shot that socket at your face.