setting keepAlive to false in basic mode in order to test the stability of the app on amazon ec2