Running a VPN requires settings like for instance the routing to be modified to send the data packets through the VPN tunnel instead of the default route to the router responsible for the network. So effectively the default route changes... if those changes are not reverted before turning of the computer (sleep mode counts as that too) issues like the one you describe are to be expected.