The problem was resolved
Root cause: DB session was not committed after update query. Hence all other threads (accessing same row of the table) started to wait for locks which consumed all threads.
It was resolved already back then. I just logged in Stack overflow after a while. Hence Posted the answer as it might help someone.
Thanks for whoever commented to help me
Cheers!