If you place an Redstone 1 block UPPER the piston (like at the screenshot), they will stay like this for ever, until you dont update this piston,
2 - Redstone block
1 - Piston
0- Air
Diagram:
2
0
1
Related issues
Attachments
Comments

Thank you for your report!
We're tracking this issue in MC-108, so this ticket is being resolved and linked as a duplicate.
That ticket has already been resolved as working as intended, which means this is not considered a bug and won't be fixed. Please do not leave a comment on the linked ticket.
If you would like to learn more about this particular feature, see this article on the Minecraft Wiki.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki