handle client signals