Weakref from renderer to session.
use loop.add_signal_handler instead of signal.signal.