MINOR: peers: store the pointer to the signal handler

We'll need it to unregister stopped peers sections.
(cherry picked from commit aa729784e1c0a6a9ac003210d01c605962110522)
2 files changed