Use only 2 sockets for all modules (not 2 per module)
closeModule does not kill the module anymore
readModulePort can read several ports and return the values on the port