Added client connection with future compositions, fixed hang bug on server