@joga It could also be that the threads get into deadlock. So maybe you can also provide us with some detailed thread information next time the issue occurs?
To get the thread info you can issue the following command on the Console:
threads --monitors --locks
It may be related to the deadlock that occured in openhab/openhabian#469.