Frontend-STFL: handle signals

Same as Server's signal handling