Fix timeout when creating virtual hosts