You keep the old passport, nothing is physically done to it until the replacement arrives. Yes it is cancelled in the UK "system" when the application reaches there but they do not tell anybody unless they are specifically asked. So whilst it is true that is is not officially valid for travel nobody outside of the UK will know that, so it's a risk you may or may not wish to take.