Add the sketchy shit to get rid of threads

Signed-off-by: Rohan Mathur <rohanmathur34@gmail.com>