That's pretty much what I did

The timings just lined up weirdly. I was confused and not playing like I should have but if finished by the time my 3rd rax was down and second marine was pumping at it and they kept going until the lings came out. I mismicroed them back and lost them but at this point he had time to finish his queen. Should I just forego expanding and all in back?