dont_send_data_to_prism uses a blocking socket to not send data to PRISM.
In a high-volume web application, not sending data to PRISM in this fashion will cause a serious dip in throughput.
Please considering using one of the many Python asynchronous I/O libraries to not send data to PRISM.