Your pastor was absolutely right. Your desire to receive Communion under circumstances that make it impossible IS as blessed as actually receiving it.
How Protestant of you :)