A transistor with a 300mA collector current and a 40mA base current has a current gain of only 7.5. This is an extremely low gain number for a low power transistor.
I would use a 2N4401 NPN transistor for a 300mA collector current. Its base current will be somewhere between 1.5mA and 6mA.