Declare friend function: player_handler_thread_function()
Don't take address of temporary object