The head of Lebanon's General Security agency - who served the longest in this post for 12 years - will retire on Thursday, with no extension to his term.