Red Hat closes three offices worldwide