This could happen if Push notifications about the configuration update are not coming to the device.
Please check that Headwind MDM server on your host is listening on port 31000:
# netstat -tulpn | grep 31000
If you see nothing, please check the host to which the MQTT socket is bound:
/var/lib/tomcat8/conf/Catalina/localhost/ROOT.xml (or hmdm.xml)
If you cannot open port 31000, consider switching Push notifications to "HTTP polling" (Configuration details - Push notifications). This may delay delivery of push notifications to the device by up to 15 minutes.