Added server action to shutdown the server
Added the maintenance feature to perform tasks when the server becomes idle