[tor-commits] [snowflake/master] Refactor signal receiving in server.