A bit long, but I would not say you should consider it denied at 40 days. 6-10 weeks is fairly normal. 40 day may be the amount of time at the state police, but then add all the time on your local pd's desk.
I got mine yesterday after a 10 week wait. My town does batch process, and the firearms officer only deals with permits once a month. I got a class A with no restrictions. Hang in there!