new logic for subject handling, added retry logic for javax
store/foldering opening