Welcome to United Bimmer.
The stalling issues could be a result of a dirty or clogged Idle Control Valve (ICV). I wouldn't recommend disconnecting the plug because the computer won't know what's going on and will have issues compensating and may go into limp mode. Has the car ever been overheated? That sound is indicative of a bigger problem with may require an engine tear down.