Midi capture drops out in Logic Pro

Whilst working on a project with the midi capture drops out every now and then if for example using three or four different instances of scaler 2 have to go into Plugin to reset midi capture I am using MacBook Pro M1 max chip with Mac OS Sonoma