kill -3 causes stack dump, instead of killing