patch rtorrent signal handling (github issue #51)