Tuning Hatsan flash pup cocking problem

Hi all. I have a Hatsan flash pup .22 Cal ( Synthetic stock) that has become impossible to cock. Its pulls back fine but doesn't catch. It just goes back to it's original position. Causing the barrel to be overloaded because there's no way to fire the gun. At first it maybe happened once or twice per session. Then gradually over a few weeks it got to the state that it's in now. I use the stock magazine with generic Crossman pellets. Any help is greatly appreciated.