RPI-rf Locked with many process

I have a problem:
in home assistant i use rpi-rf to send commands to some PowerSwitch . (code Ex 2587457 )
Also use rcswitch to send other types of commands for the automatic gate (code ex 0010001111101 shortdelay longdelay = 0.000292 = 0.000593 )
To do this I invoke a script that works perfectly , but it stops me the commands send to the PowerSwitch !

As I press the buttons on the webserver , not send anithing… I am forced to restart homeassistant through Terminal .

How can I solve this problem?

Thank you