dont block the event loop please
change select timeout to 0.2