Improved server push using a thread.