Fixed a memory leak in long lived executor.
Fixed a memory leak in long lived executor.

Instead of allocating the thread object on the heap,
modified code to make it a stack allocated object.

Review: https://reviews.apache.org/r/45795/

abudnik/mesos,dforsyth/mesos,yuquanshan/customizedMesos,craimbert/mesos,andschwa/mesos,asamerh4/mesos,chhsia0/mesos,neilconway/mesos,Aman-Jain-14/customizedMesos,kaysoky/mesos,gsantovena/mesos,andschwa/mesos,reneploetz/mesos,Gilbert88/mesos,yuquanshan/customizedMesos,dforsyth/mesos,yuquanshan/customizedMesos,jpeach/mesos,zmalik/mesos,reneploetz/mesos,neilconway/mesos,reneploetz/mesos,andschwa/mesos,chhsia0/mesos,craimbert/mesos,andschwa/mesos,jpeach/mesos,verizonlabs/mesos,gsantovena/mesos,zmalik/mesos,jpeach/mesos,verizonlabs/mesos,Gilbert88/mesos,zmalik/mesos,chhsia0/mesos,neilconway/mesos,kaysoky/mesos,dforsyth/mesos,Aman-Jain-14/customizedMesos,Aman-Jain-14/customizedMesos,asamerh4/mesos,andschwa/mesos,yuquanshan/customizedMesos,neilconway/mesos,asamerh4/mesos,kaysoky/mesos,verizonlabs/mesos,andschwa/mesos,verizonlabs/mesos,reneploetz/mesos,dforsyth/mesos,kaysoky/mesos,zmalik/mesos,Aman-Jain-14/customizedMesos,abudnik/mesos,chhsia0/mesos,craimbert/mesos,yuquanshan/customizedMesos,Aman-Jain-14/customizedMesos,gsantovena/mesos,yuquanshan/customizedMesos,verizonlabs/mesos,zmalik/mesos,kaysoky/mesos,Aman-Jain-14/customizedMesos,dforsyth/mesos,gsantovena/mesos,craimbert/mesos,Gilbert88/mesos,craimbert/mesos,reneploetz/mesos,craimbert/mesos,abudnik/mesos,asamerh4/mesos,dforsyth/mesos,abudnik/mesos,chhsia0/mesos,yuquanshan/customizedMesos,verizonlabs/mesos,neilconway/mesos,asamerh4/mesos,kaysoky/mesos,jpeach/mesos,neilconway/mesos,abudnik/mesos,jpeach/mesos,andschwa/mesos,chhsia0/mesos,dforsyth/mesos,Gilbert88/mesos,verizonlabs/mesos,craimbert/mesos,abudnik/mesos,gsantovena/mesos,neilconway/mesos,asamerh4/mesos,Gilbert88/mesos,jpeach/mesos,Gilbert88/mesos,zmalik/mesos,Aman-Jain-14/customizedMesos,Gilbert88/mesos,abudnik/mesos,reneploetz/mesos,chhsia0/mesos,zmalik/mesos,reneploetz/mesos,asamerh4/mesos,jpeach/mesos,gsantovena/mesos,gsantovena/mesos,kaysoky/mesos