Unfortunately, each access point has a different routable subnet address, so if you switch to the new access point's uplink you'll suddenly switch IP addresses, which will break your connection.
This document is designed to give the reader a working knowledge of TCP/IP subnetting, addressing, and routing. It is not intended to be complete, or to cover all issues.