Take out plastic, clean and dry cast socket and plastic. Refit plastic and pack in something to take up the space (rope, poly bag, caulk preferably) and centre the pipe, while leaving enough room to seal with pure cement. Pack in the cement and smooth off, leave to dry job done.
Check cast is...