There are plenty of topics with request for "hide to tray" option.
MB have even "Minimize to tray" item in right click tray menu.
But still for some reason you don't want to add it to the main window.
Can you explain why?
Minimize to task bar, close to tray is a common behavior for all programs intended to work in tray.