try capturing signals for debugging