Leith Theatre stays shut to secure longer-term future