pyagent: abort on dropped pings
api-pub-sub: close socket/connection on error
check for dead policies in racoon