Add INT/TERM signal handling