Actualy I found out it is a different issue.
Somehow IPCAM crashed after 3-4 hours, since it is no longer running phone autolock.
I believing it is crashing when there is no wi-fi acces, when phone close to router, it does not crachs run hours with no issue.
When phone away from router and probably signal is weak, it crashed after coupld of hours.