[ni mouse] simple client application modified, catch keyboard interrupt

Signed-off-by: Samuel Casa <samuelcasa9@gmail.com>