ticket:10 add signals handlers