I don’t think this is possible. When the handler function ends, any other running threads are halted.
I linked an article below that may be interesting to you. It appears that if the Lambda container is reused, it is possible to have those halted background threads to be resumed but this wouldn’t necessarily be guaranteed.
Resources:
CLICK HERE to find out more related problems solutions.