change timeout of command camera
added SIGTERM to kill ok the app