net/mlx4_core: Fix reset flow when in command polling mode