Historic Polish churches prepare to close