Now with a Unix socket class to test mainloop.
Mainloop crashes when I try to call the method.