send signals to the flask app not to the Api