Extract the mask and separate the two pieces with gap

Hello,

When I am using the extract feature after masking, I get to separate parts. Does anyone know how it can be solved?

Best regards,
Roei Derhi