I tested your changes. It worked for me. Thanks.
PPTP server does not work OK any more when IP pool is full and a new user is trying connect to the server.