client: enable signal handlers after device opened
client: Add counter to macro loop
client: Add option to loop n times