use "except Exception:" instead, because this will catch things like kill signals.