changed request handlers to non blocking