Working mosquito loop. SIGINT handling.
Proper termination.