using upstart to handle docker's stop command