The Holy Trinity church in Scarborough, built near the South Cliff, has closed because of falling congregations.